% rebase('layout.tpl', title=title, year=year)

<div class="jumbotron">
    <h1>PXE Server Configuration App</h1>
    <p class="lead">Simplify PXE configuration.</p>
</div>

<h3>Work Flow</h2>
<ol>
    <li>Set configuration files folder and pxelinux.cfg folder in <strong>cfg.ini</strong>.</li>
    <li>Create pxe configuration template files.</li>
    <li>Create PXE plan for clients.</li>
    <li>App will create pxe configuration file for client and track PXE boot.</li>
</ol>

<h2><a href="/path">Path</a></h2>
There are 2 folders need to be set:
<ol>
    <li>configuration files folder: save template files</li>
    <li>pxelinux.cfg folder: save client configuration files</li>
</ol>
Please modify cfg.ini and <strong>restart</strong> this server.

<h2><a href="/cfg">Cfg</a></h2>
pxelinux configuration file.
<pre>label centos7.3-diskless
    kernel os/diskless/centos7/boot/vmlinuz
    append initrd=os/diskless/centos7/boot/initramfs-nfs.img root=nfs4:192.168.1.200:/srv/tftpboot/os/diskless/centos7:rw,relatime,vers=4.0,rsize=131072,wsize=131072,namlen=255,hard,proto=tcp,port=0,timeo=600,retrans=2,sec=sys,local_lock=none ip=dhcp
</pre>

<h2><a href="/plan">Plan</a></h2>
Client PXE boot plan.
<pre>diskless/centos.cfg,3
diskless/sles.cfg,3</pre>
There are 2 parts in each line: template file and cycles, separated by comma(,). For example:
<code>diskless/centos.cfg,3</code> means boot to template file <code>diskless/centos.cfg</code> 3 times.


<hr/>
<address>
    <strong>Support:</strong>
    <a href="mailto:binjie_zhang@avc.co">binjie_zhang@avc.co</a>
    <br />
</address>
